package com.A1908.dao;

import com.A1908.entity.Relation;
import com.A1908.entity.RelationType;

import java.util.List;

/**
 * @name:
 * @description:
 * @author: mr.ck
 * @title: talk is cheap, show me the code!!!
 * @time: 2021-04-01 17:19:59
*/


public interface RelationDao {
    /*获取关系信息*/
    List<RelationType> getAllRelationInfo();

    /*添加关系信息*/
    int addRelationInfo(Relation relation);

    /*删除关系信息*/
    int delRelation(int id);

    /*修改关系信息*/
    int updateRelation(Relation relation);
}
